#include "Pixie.h"

generic configuration CountStage(priority_t PRIORITY) {
  provides interface PixieSink as Input;
  uses interface PixieSink as Output;

} implementation {

  components new CountStageP();
  components new PixieStageWrapperC(PRIORITY, "CountStage") as Wrapper;

  Input = Wrapper.Input;
  Output = CountStageP.PixieSink;

  Wrapper.PixieStage -> CountStageP;

  components PixieC;
  CountStageP.PixieMemAlloc -> PixieC;

}
